package com.wobito.pojo.vo.config;


import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.Size;

/**
 * @Author: lambyang
 * @CreateTime: 2024-09-23
 * @Description: 添加图片信息配置
 * @Version: 1.0
 */
@Data
@ApiModel(value = "添加图片信息配置")
public class ConfigPictureVO {

//    @ApiModelProperty(value = "图片索引/名称",required = true)
    @Size(min = 1,max = 2,message = "图片索引长度必须在{min}-{max}")
    private String index;

//    @ApiModelProperty(value = "图片文件",required = true)
    private MultipartFile file;
}
